let less =require("less");
function loader(source) {
    let css = "";
    less.render(source, function(err,res) {
        css = res.css;
    });
    css = css.replace(/\n/g, "\\n");
    return css;
}

module.exports = loader;